<?php



class Gift18nMapBuilder implements MapBuilder {

	
	const CLASS_NAME = 'lib.model.map.Gift18nMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap(Gift18nPeer::DATABASE_NAME);

		$tMap = $this->dbMap->addTable(Gift18nPeer::TABLE_NAME);
		$tMap->setPhpName('Gift18n');
		$tMap->setClassname('Gift18n');

		$tMap->setUseIdGenerator(false);

		$tMap->addForeignPrimaryKey('GIFT_ID', 'GiftId', 'INTEGER' , 'gift', 'ID', true, null);

		$tMap->addPrimaryKey('CULTURE', 'Culture', 'CHAR', true, 15);

		$tMap->addColumn('NAME', 'Name', 'VARCHAR', false, 250);

		$tMap->addColumn('DESCRIPTION', 'Description', 'LONGVARCHAR', false, null);

	} 
} 